<!DOCTYPE html>
<html>

<head>
    <title>欢迎加入豆瓣</title>
    <link href="http://apps.bdimg.com/libs/bootstrap/3.3.0/css/bootstrap.min.css" rel="stylesheet">
    <!--font-awesome 核心我CSS 文件-->
    <link href="//cdn.bootcss.com/font-awesome/4.3.0/css/font-awesome.min.css" rel="stylesheet">
    <link rel='stylesheet' href='/stylesheets/login.css' />
</head>

<body>
    <div class="container">
        <div class="form row">
            <%if (repeat) {%>
                <div class="form-horizontal col-sm-offset-3 col-md-offset-3 error">该用户名已被注册</div>
            <%}%>
            <form class="form-horizontal col-sm-offset-3 col-md-offset-3" id="register_form" action="./users/registerAction" method="post">
                <h3 class="form-title">欢迎加入豆瓣</h3>
                <div class="col-sm-9 col-md-9">
                    <div class="form-group">
                        <i class="fa fa-user fa-lg"></i>
                        <input class="form-control required" type="text" placeholder="Username" name="username" autofocus="autofocus" />
                    </div>
                    <div class="form-group">
                        <i class="fa fa-lock fa-lg"></i>
                        <input class="form-control required" type="password" placeholder="Password" id="register_password" name="password" />
                    </div>
                    <div class="form-group">
                        <i class="fa fa-check fa-lg"></i>
                        <input class="form-control required" type="password" placeholder="Re-type Your Password" name="rpassword" />
                    </div>
                    <div class="form-group">
                        <i class="fa fa-envelope fa-lg"></i>
                        <input class="form-control eamil" type="text" placeholder="Email" name="email" />
                    </div>
                    <div class="form-group">
                        <input type="submit" class="btn btn-success pull-right" value="注册" />
                        <a class="btn btn-info pull-left" id="back_btn" href="./login">直接登录</a>
                    </div>
                </div>
            </form>
        </div>
    </div>
</body>

</html>